<footer class="footer" id="footer">
    <address>
			<span class="floatright">
		        <a href="http://${configs["domains.mobile"]}/about/app">客户端</a>
		        <i>|</i>
		        <a href="http://${configs["domains.www"]}" class="J_PC_VERSION">电脑版</a>
		        <i>|</i>
		        <a href="http://${configs["domains.mobile"]}/about/faq">帮助</a>
		        <i>|</i>
                <#if loginUser??>
                    <a href="http://${configs["domains.mobile"]}/account/logout?redir=/account/login">退出</a>
                <#else>
                    <a href="http://${configs["domains.mobile"]}/account/login">登录</a>
                </#if>
        	</span>
        ©2008-${currentDate?string('yyyy')} 大街网
    </address>
</footer>
<script type="text/javascript">
    var _gaq = _gaq || [];
    _gaq.push(['_setAccount', 'UA-8089983-1']);
    _gaq.push(['_addOrganic', 'baidu', 'word']);
    _gaq.push(['_addOrganic', 'soso', 'w']);
    _gaq.push(['_addOrganic', '3721', 'name']);
    _gaq.push(['_addOrganic', 'yodao', 'q']);
    _gaq.push(['_addOrganic', 'vnet', 'kw']);
    _gaq.push(['_addOrganic', 'sogou', 'query']);
    _gaq.push(['_setDomainName', '.dajie.com']);

    _gaq.push(['_trackPageview']);
    <#if loginUser??>_gaq.push(['_setVar', '${(loginUser.uid)!0}']);</#if>
    (function () {
        var ga = document.createElement('script');
        ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
        ga.setAttribute('async', 'true');
        document.documentElement.firstChild.appendChild(ga);
    })();
</script>
<script type="text/javascript">
    $('.J_PC_VERSION').live('click',function(e){
        e.preventDefault();
        var url = $(this).attr('href');
        if (url == null || url == '#' || url == "") {
            url = "http://${configs['domains.www']}";
        }
        $.ajax({
            type: "GET",
            url:  "http://${configs['domains.mobile']}/account/pccookie",
            success: function (r) {
                window.location.href = url;
            }
        });
    });
</script>